home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3809 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.1 KB

  1. Path: news.uiowa.edu!ozone!maclenna
  2. From: maclenna@ozone.uiowa.edu (Mark MacLennan)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C++ Coding GuideLines
  5. Date: 26 Jan 1996 04:12:11 GMT
  6. Organization: Center for Global and Regional Environmental Research
  7. Distribution: world
  8. Message-ID: <4e9kar$17am@flood.weeg.uiowa.edu>
  9. References: <4dtul3$a54@babbage.ece.uc.edu> <4e791m$1s9@ias2.ichange.com>
  10. Reply-To: maclenna@cgrer.uiowa.edu (Mark MacLennan)
  11. NNTP-Posting-Host: ozone.cgrer.uiowa.edu
  12.  
  13. In article <4e791m$1s9@ias2.ichange.com> jeremym@jax.jaxnet.com (Jeremy Mineweaser) writes:
  14. >pateljb@ucunix.san.uc.edu (Jay Patel) wrote:
  15. >
  16. >>Does anyone know of a good book or a white paper that talks about the
  17. >>    C++ coding guidelines (i.e., Dos/Donts). I'm NOT interested
  18. >>    in the style guide. 
  19. >
  20. >I would recommend _Code_Complete_ from Microsoft Press, by Steve
  21. >McConnell.  It's been a great resource for me in writing program for
  22. >all platforms.  While it covers more than just coding guidelines, I
  23. >think it'd be something like what you're describing.  You should be
  24. >able to find it at most bookstores.
  25. >
  26.  
  27. "Code Complete" is quite a good book on the general subject of
  28. software development - worth reading even though it isn't specifically
  29. oriented toward C++ and OO development.  A related book "Writing
  30. Solid Code" by Steve Maguire (also part of the Microsoft Press
  31. series) is also well worth looking at despite its emphasis on
  32. writing C programs.
  33.  
  34. Despite its flippant title, "Enough Rope to Shoot Yourself in the
  35. Foot: Rules for C and C++ Programming" by Allen I. Holub (McGraw-Hill,
  36. 1995, 180 pages, $24.95), I found this book to be extremely useful
  37. and I would recommend it to anyone looking for suggestions and
  38. ideas for C/C++ coding guidelines.  The book is very practical-oriented
  39. and every programming "rule" has a relevant example and explanation.
  40. As the author points out, these rules not are not definitive or
  41. even "correct", they are however the ones he has found useful after
  42. many years of programming.
  43.  
  44. There is also a new book from Addison-Wesley scheduled for publication
  45. in April entitled "Large-Scale C++ Software Design" by John Lakos that
  46. sounds pretty interesting.
  47.  
  48. cheers,
  49. MARK
  50.  
  51.  
  52.  
  53.